
import createAxios from '/@/utils/axios'

export const url = 'user/withdraw/'
// /backend_api.php/user/withdraw/query?ids=

// 支付宝 == 转账状态
export function selTransferStatus(ids: string) {
    return createAxios(
        {
            url: url + 'query',
            method: 'post',
            params: {
                ids,
            },
        },
        {
            loading: true,
            showSuccessMessage: true,
        }
    )
}

//  微信 == 撤销转账按钮
export function revokeTransfer(ids: string) {
    return createAxios(
        {
            url: url + 'revoke',
            method: 'post',
            params: {
                ids,
            },
        },
        {
            loading: true,
            showSuccessMessage: true,
        }
    )
}
